﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EntropiaMiningMap
{
    // 2-dimensional point
    struct Point
    {
        /// <summary>
        /// x-component
        /// </summary>
        private float x;

        /// <summary>
        /// y-component
        /// </summary>
        private float y;

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="X">x-component</param>
        /// <param name="Y">y-component</param>
        public Point(float X, float Y)
        {
            x = X;
            y = Y;
        }

        // Properties
        //*****************************************************************************************

        /// <summary>
        /// Accessor and mutator for x
        /// </summary>
        public float X
        {
            get { return x; }
            set { x = value; }
        }

        /// <summary>
        /// Accessor and mutator for y
        /// </summary>
        public float Y
        {
            get { return y; }
            set { y = value; }
        }
    }
}
